import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: () => import(/* webpackChunkName: "Index" */ '../views/Index.vue')
  },
  {
    path: '/consult',
    component: () => import(/* webpackChunkName: "Consult" */ '../views/Consult.vue')
  },
  {
    path: '/consultnew',
    component: () => import(/* webpackChunkName: "Consultnew" */ '../views/Consultnew.vue')
  },
  {
    path: '/contact',
    component: () => import(/* webpackChunkName: "Contact" */ '../views/Contact.vue')
  },
  {
    path: '/member',
    component: () => import(/* webpackChunkName: "Member" */ '../views/Member.vue')
  },
  {
    path: '/story',
    component: () => import(/* webpackChunkName: "Story" */ '../views/Story.vue')
  },
  {
    path: '/porridge',
    component: () => import(/* webpackChunkName: "Porridge" */ '../views/Porridge.vue')
  },
  {
    path: '/porridges',
    component: () => import(/* webpackChunkName: "Porridges" */ '../views/Porridges.vue')
  },
  
]

const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
})

export default router
